package com.cw.controller;


import com.cw.common.api.*;
import com.cw.request.*;
import com.cw.service.*;
import io.swagger.annotations.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;

/**
 * @author smq
 * @since 2021-05-05
 */
@Api(tags = {""})
@RestController
@RequestMapping("/his-cwgl-nurse")

public class HisCwglNurseController {

    @Autowired
    private IHisCwglNurseService targetService;

    @ApiOperation(value = "获取病区列表")
    @GetMapping("/getWardList")
    public ResultObject getWardList(@RequestParam String yard) {
        return ResultObject.successReturn(targetService.getWardList(yard));
    }

    @ApiOperation(value = "获取病区列表")
    @GetMapping("/getWardListHis")
    public ResultObject getWardListHis(@RequestParam String yard) {
        return ResultObject.successReturn(targetService.getWardList(yard));
    }

}

